home *** CD-ROM | disk | FTP | other *** search
- Date: Fri, 10 Jun 1994 12:48:06 -0400 (EDT)
- From: Timothy Miller <millert@undergrad.csee.usf.edu>
- Subject: Re: Key Short-Cuts
- To: gem-list@world.std.com
- In-Reply-To: <memo.341037@cix.compulink.co.uk>
- Message-Id: <Pine.3.87.9406101206.C27930-0100000@grad>
- Mime-Version: 1.0
- Precedence: bulk
-
-
- On Thu, 9 Jun 1994, Mark Himsley wrote:
-
- >
- > In-Reply-To: <Pine.3.87.9406090105.B26810-0100000@undergrad>
- >
- >
- > >To distinguish between Ctrl-H and Backspace, you know that the code for
- > >Backspace isn't going to change, so Ctrl-H is something with the same
- > >ascii code but a different scancode,
- >
- > Why not just check if ctrl is pressed? evnt_multi() can, and evnt_mouse()
- > does return the state of the keyboard modifier keys (L-SHIFT, R-SHIFT, CTRL,
- > ALT)
- >
- > Mark H.
- > mdsh@cix.compulink.co.uk
- >
-
- No. This is not good. As far as I can tell, backspace returns the same
- code as ctrl-backspace. You then would not be able to see
- ctrl-backspace. The only solution is to first check the ascii code then
- compare the scancode to backspace. If the code is different, then we
- know it's ctrl-h.
-
-
-